Vcenter Vm Storage Policy Compliance Info

Vcenter Vm Storage Policy Compliance Info
Vcenter Vm Storage Policy Compliance Info

The Vcenter Vm Storage Policy Compliance Info schema contains information about the storage policy compliance of a virtual machine, including information about it's home directory and/or it's virtual disks.

This schema was added in vSphere API 6.7.

JSON Example
{
    "overall_compliance": "string",
    "vm_home": {
        "status": "string",
        "check_time": "string",
        "policy": "string",
        "failure_cause": [
            {
                "id": "string",
                "default_message": "string",
                "args": [
                    "string"
                ],
                "params": {
                    "params": {
                        "s": "string",
                        "dt": "string",
                        "i": 0,
                        "d": "number",
                        "l": "Vapi Std NestedLocalizableMessage Object",
                        "format": "string",
                        "precision": 0
                    }
                },
                "localized": "string"
            }
        ]
    },
    "disks": {
        "disks": {
            "status": "string",
            "check_time": "string",
            "policy": "string",
            "failure_cause": [
                {
                    "id": "string",
                    "default_message": "string",
                    "args": [
                        "string"
                    ],
                    "params": {
                        "params": {
                            "s": "string",
                            "dt": "string",
                            "i": 0,
                            "d": "number",
                            "l": "Vapi Std NestedLocalizableMessage Object",
                            "format": "string",
                            "precision": 0
                        }
                    },
                    "localized": "string"
                }
            ]
        }
    }
}
string
overall_compliance
Required

The overall compliance status of the virtual machine and all it's entities.

For more information see: Vcenter Vm Storage Policy Compliance Status.

This property was added in vSphere API 6.7.

vm_home
Optional

The storage policy compliance information Vcenter Vm Storage Policy Compliance VmComplianceInfo for the virtual machine's home directory.

This property was added in vSphere API 6.7.

If missing or null the virtual machine home directory has no storage policy association.

object
disks
Required

The compliance information Vcenter Vm Storage Policy Compliance VmComplianceInfo for the virtual machine's virtual disks that are currently associated with a storage policy.

This property was added in vSphere API 6.7.

When clients pass a value of this schema as a parameter, the key in the property map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk. When operations return a value of this schema as a response, the key in the property map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk.